package com.lsc.record.core.entity;

import java.util.Date;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.core.keygen.KeyGenerators;

import lombok.Data;

@Data
public class BaseEntity {
	@Id(keyType = KeyType.Generator,value = KeyGenerators.snowFlakeId)
	private String id;
	
	private String name;
	
	private String createUser;
	
	private Date createTime;
	
	private String updateUser;
	
	private Date updateTime;
	
	private Integer version;
	
	private Boolean isDeleted;
	
	private String deleteUser;
	
	private Date deleteTime;
}
